<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>01.使用bootstrap</title>
    <link rel="stylesheet" href="bootstrap-4.5.3/css/bootstrap.css">
</head>

<body>
    <h1>按钮</h1>
    <button>普通按钮</button>
    <!-- 按钮的设置 -->
    <button class="btn">按钮一</button>
    <!-- 设置不同颜色的按钮 -->
    <hr>
    <button class="btn btn-primary">按钮一</button>
    <button class="btn btn-success">按钮一</button>
    <button class="btn btn-danger">按钮一</button>
    <button class="btn btn-info">按钮一</button>
    <button class="btn btn-dark">按钮一</button>
    <hr>
    <a href="#" class="btn btn-primary">按钮一</a>
    <a href="#" class="btn btn-success">按钮一</a>
    <a href="#" class="btn btn-danger">按钮一</a>
    <a href="#" class="btn btn-info">按钮一</a>
    <a href="#" class="btn btn-dark">按钮一</a>
    <hr>
    <!-- 设置轮廓的按钮 -->
    <a href="#" class="btn btn-outline-primary">按钮一</a>
    <a href="#" class="btn btn-outline-success">按钮一</a>
    <a href="#" class="btn btn-outline-danger">按钮一</a>
    <a href="#" class="btn btn-outline-info">按钮一</a>
    <a href="#" class="btn btn-outline-dark">按钮一</a>
    <hr>
    <!-- 设置按钮大小 -->
    <button class="btn btn-primary btn-lg">按钮一</button>
    <button class="btn btn-success btn-lg">按钮一</button>
    <button class="btn btn-danger btn-sm">按钮一</button>
    <button class="btn btn-info btn-sm">按钮一</button>
    <button class="btn btn-dark btn-sm">按钮一</button>
    <hr>
    <!-- 设置按钮独占一行 -->
    <button class="btn btn-primary btn-lg btn-block">按钮一</button>
    <button class="btn btn-success btn-lg btn-block">按钮一</button>


    <button class="btn btn-dark btn-sm " disabled>按钮一</button>
    <a href="#" class="btn btn-dark btn-sm disabled">按钮一</a>
</body>

</html>